package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 资料管理--虫害实体类
 */

@TableName("t_pest")
public class PestBean {
    @TableId(value = "pk_pestId",type = IdType.AUTO)
    private Integer pestId;
    /*** 虫害名称 */
    @TableField("f_pestName")
    private String pestName;
    /*** 虫害寄主 */
    @TableField("f_pestHost")
    private String pestHost;
    /*** 虫害危害 */
    @TableField("f_pestHarm")
    private String pestHarm;
    /*** 虫害繁殖 */
    @TableField("f_pestBreed")
    private String pestBreed;
    /*** 虫害天敌 */
    @TableField("f_pestNatural")
    private String pestNatural;
    /*** 虫害防治措施 */
    @TableField("f_pestControl")
    private String pestControl;
    /*** 虫害幼虫图片 */
    @TableField("f_pestXImg")
    private String pestXImg;
    /*** 虫害成虫图片 */
    @TableField("f_pestDImg")
    private String pestDImg;

    public PestBean() {
    }

    public PestBean(String pestName, String pestHost, String pestHarm, String pestBreed, String pestNatural, String pestControl, String pestXImg, String pestDImg) {
        this.pestName = pestName;
        this.pestHost = pestHost;
        this.pestHarm = pestHarm;
        this.pestBreed = pestBreed;
        this.pestNatural = pestNatural;
        this.pestControl = pestControl;
        this.pestXImg = pestXImg;
        this.pestDImg = pestDImg;
    }

    public Integer getPestId() {
        return pestId;
    }

    public void setPestId(Integer pestId) {
        this.pestId = pestId;
    }

    public String getPestName() {
        return pestName;
    }

    public void setPestName(String pestName) {
        this.pestName = pestName;
    }

    public String getPestHost() {
        return pestHost;
    }

    public void setPestHost(String pestHost) {
        this.pestHost = pestHost;
    }

    public String getPestHarm() {
        return pestHarm;
    }

    public void setPestHarm(String pestHarm) {
        this.pestHarm = pestHarm;
    }

    public String getPestBreed() {
        return pestBreed;
    }

    public void setPestBreed(String pestBreed) {
        this.pestBreed = pestBreed;
    }

    public String getPestNatural() {
        return pestNatural;
    }

    public void setPestNatural(String pestNatural) {
        this.pestNatural = pestNatural;
    }

    public String getPestControl() {
        return pestControl;
    }

    public void setPestControl(String pestControl) {
        this.pestControl = pestControl;
    }

    public String getPestXImg() {
        return pestXImg;
    }

    public void setPestXImg(String pestXImg) {
        this.pestXImg = pestXImg;
    }

    public String getPestDImg() {
        return pestDImg;
    }

    public void setPestDImg(String pestDImg) {
        this.pestDImg = pestDImg;
    }

    @Override
    public String toString() {
        return "PestBean{" +
                "pestId=" + pestId +
                ", pestName='" + pestName + '\'' +
                ", pestHost='" + pestHost + '\'' +
                ", pestHarm='" + pestHarm + '\'' +
                ", pestBreed='" + pestBreed + '\'' +
                ", pestNatural='" + pestNatural + '\'' +
                ", pestControl='" + pestControl + '\'' +
                ", pestXImg='" + pestXImg + '\'' +
                ", pestDImg='" + pestDImg + '\'' +
                '}';
    }
}
